<?php

namespace Admin\Pages;

/**
 * Description of Index
 *
 * @author nofear
 */
class Home extends Page {

    public function __construct() {
        parent::__construct();
        $this->view = new \System\Template('@admin/home.twig');
    }
    
    public function index() {
//        $user = $this->getCurrentUser();
//        $user->setPassword(md5($user->getSecret() . ''));
        $this->view->username = $this->getCurrentUser()->getUsername();
    }

}
